﻿using UnityEngine;
using System.Collections;
//using UnityEditor;

public class ExportAssetBundles : MonoBehaviour 
{

    [UnityEditor.MenuItem("Custom Editor/Build AssetBundles")]
    static void CreateAssetBunblesMain()
    {
        UnityEditor.BuildPipeline.BuildAssetBundles(
            "Assets/StreamingAssets",
            UnityEditor.BuildAssetBundleOptions.ForceRebuildAssetBundle,
            UnityEditor.BuildTarget.StandaloneWindows64);


    }
}
